package com.gary.springcloud.mapper;

import com.gary.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author pengrui
 * @date 2020/12/30 - 15:23
 */
@Mapper
public interface PaymentMapper {

    /**
     *  保存
     * @param payment
     * @return
     */
    Integer save(Payment payment);

    /**
     *   通过id查询
     * @param id
     * @return
     */
    Payment queryById(Long id);
}
